package com.runfast.paotui.dao.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class PricePlanExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Integer offset;

    public PricePlanExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andDeletedIsNull() {
            addCriterion("deleted is null");
            return (Criteria) this;
        }

        public Criteria andDeletedIsNotNull() {
            addCriterion("deleted is not null");
            return (Criteria) this;
        }

        public Criteria andDeletedEqualTo(Boolean value) {
            addCriterion("deleted =", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotEqualTo(Boolean value) {
            addCriterion("deleted <>", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThan(Boolean value) {
            addCriterion("deleted >", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanOrEqualTo(Boolean value) {
            addCriterion("deleted >=", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedLessThan(Boolean value) {
            addCriterion("deleted <", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanOrEqualTo(Boolean value) {
            addCriterion("deleted <=", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedIn(List<Boolean> values) {
            addCriterion("deleted in", values, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotIn(List<Boolean> values) {
            addCriterion("deleted not in", values, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedBetween(Boolean value1, Boolean value2) {
            addCriterion("deleted between", value1, value2, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotBetween(Boolean value1, Boolean value2) {
            addCriterion("deleted not between", value1, value2, "deleted");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNull() {
            addCriterion("create_by is null");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNotNull() {
            addCriterion("create_by is not null");
            return (Criteria) this;
        }

        public Criteria andCreateByEqualTo(Integer value) {
            addCriterion("create_by =", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotEqualTo(Integer value) {
            addCriterion("create_by <>", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThan(Integer value) {
            addCriterion("create_by >", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThanOrEqualTo(Integer value) {
            addCriterion("create_by >=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThan(Integer value) {
            addCriterion("create_by <", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThanOrEqualTo(Integer value) {
            addCriterion("create_by <=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByIn(List<Integer> values) {
            addCriterion("create_by in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotIn(List<Integer> values) {
            addCriterion("create_by not in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByBetween(Integer value1, Integer value2) {
            addCriterion("create_by between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotBetween(Integer value1, Integer value2) {
            addCriterion("create_by not between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByIsNull() {
            addCriterion("update_by is null");
            return (Criteria) this;
        }

        public Criteria andUpdateByIsNotNull() {
            addCriterion("update_by is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateByEqualTo(Integer value) {
            addCriterion("update_by =", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotEqualTo(Integer value) {
            addCriterion("update_by <>", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThan(Integer value) {
            addCriterion("update_by >", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThanOrEqualTo(Integer value) {
            addCriterion("update_by >=", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThan(Integer value) {
            addCriterion("update_by <", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThanOrEqualTo(Integer value) {
            addCriterion("update_by <=", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByIn(List<Integer> values) {
            addCriterion("update_by in", values, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotIn(List<Integer> values) {
            addCriterion("update_by not in", values, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByBetween(Integer value1, Integer value2) {
            addCriterion("update_by between", value1, value2, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotBetween(Integer value1, Integer value2) {
            addCriterion("update_by not between", value1, value2, "updateBy");
            return (Criteria) this;
        }

        public Criteria andAgentIdIsNull() {
            addCriterion("agent_id is null");
            return (Criteria) this;
        }

        public Criteria andAgentIdIsNotNull() {
            addCriterion("agent_id is not null");
            return (Criteria) this;
        }

        public Criteria andAgentIdEqualTo(Integer value) {
            addCriterion("agent_id =", value, "agentId");
            return (Criteria) this;
        }

        public Criteria andAgentIdNotEqualTo(Integer value) {
            addCriterion("agent_id <>", value, "agentId");
            return (Criteria) this;
        }

        public Criteria andAgentIdGreaterThan(Integer value) {
            addCriterion("agent_id >", value, "agentId");
            return (Criteria) this;
        }

        public Criteria andAgentIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("agent_id >=", value, "agentId");
            return (Criteria) this;
        }

        public Criteria andAgentIdLessThan(Integer value) {
            addCriterion("agent_id <", value, "agentId");
            return (Criteria) this;
        }

        public Criteria andAgentIdLessThanOrEqualTo(Integer value) {
            addCriterion("agent_id <=", value, "agentId");
            return (Criteria) this;
        }

        public Criteria andAgentIdIn(List<Integer> values) {
            addCriterion("agent_id in", values, "agentId");
            return (Criteria) this;
        }

        public Criteria andAgentIdNotIn(List<Integer> values) {
            addCriterion("agent_id not in", values, "agentId");
            return (Criteria) this;
        }

        public Criteria andAgentIdBetween(Integer value1, Integer value2) {
            addCriterion("agent_id between", value1, value2, "agentId");
            return (Criteria) this;
        }

        public Criteria andAgentIdNotBetween(Integer value1, Integer value2) {
            addCriterion("agent_id not between", value1, value2, "agentId");
            return (Criteria) this;
        }

        public Criteria andStartDistanceIsNull() {
            addCriterion("start_distance is null");
            return (Criteria) this;
        }

        public Criteria andStartDistanceIsNotNull() {
            addCriterion("start_distance is not null");
            return (Criteria) this;
        }

        public Criteria andStartDistanceEqualTo(Integer value) {
            addCriterion("start_distance =", value, "startDistance");
            return (Criteria) this;
        }

        public Criteria andStartDistanceNotEqualTo(Integer value) {
            addCriterion("start_distance <>", value, "startDistance");
            return (Criteria) this;
        }

        public Criteria andStartDistanceGreaterThan(Integer value) {
            addCriterion("start_distance >", value, "startDistance");
            return (Criteria) this;
        }

        public Criteria andStartDistanceGreaterThanOrEqualTo(Integer value) {
            addCriterion("start_distance >=", value, "startDistance");
            return (Criteria) this;
        }

        public Criteria andStartDistanceLessThan(Integer value) {
            addCriterion("start_distance <", value, "startDistance");
            return (Criteria) this;
        }

        public Criteria andStartDistanceLessThanOrEqualTo(Integer value) {
            addCriterion("start_distance <=", value, "startDistance");
            return (Criteria) this;
        }

        public Criteria andStartDistanceIn(List<Integer> values) {
            addCriterion("start_distance in", values, "startDistance");
            return (Criteria) this;
        }

        public Criteria andStartDistanceNotIn(List<Integer> values) {
            addCriterion("start_distance not in", values, "startDistance");
            return (Criteria) this;
        }

        public Criteria andStartDistanceBetween(Integer value1, Integer value2) {
            addCriterion("start_distance between", value1, value2, "startDistance");
            return (Criteria) this;
        }

        public Criteria andStartDistanceNotBetween(Integer value1, Integer value2) {
            addCriterion("start_distance not between", value1, value2, "startDistance");
            return (Criteria) this;
        }

        public Criteria andStartDistancePriceIsNull() {
            addCriterion("start_distance_price is null");
            return (Criteria) this;
        }

        public Criteria andStartDistancePriceIsNotNull() {
            addCriterion("start_distance_price is not null");
            return (Criteria) this;
        }

        public Criteria andStartDistancePriceEqualTo(Integer value) {
            addCriterion("start_distance_price =", value, "startDistancePrice");
            return (Criteria) this;
        }

        public Criteria andStartDistancePriceNotEqualTo(Integer value) {
            addCriterion("start_distance_price <>", value, "startDistancePrice");
            return (Criteria) this;
        }

        public Criteria andStartDistancePriceGreaterThan(Integer value) {
            addCriterion("start_distance_price >", value, "startDistancePrice");
            return (Criteria) this;
        }

        public Criteria andStartDistancePriceGreaterThanOrEqualTo(Integer value) {
            addCriterion("start_distance_price >=", value, "startDistancePrice");
            return (Criteria) this;
        }

        public Criteria andStartDistancePriceLessThan(Integer value) {
            addCriterion("start_distance_price <", value, "startDistancePrice");
            return (Criteria) this;
        }

        public Criteria andStartDistancePriceLessThanOrEqualTo(Integer value) {
            addCriterion("start_distance_price <=", value, "startDistancePrice");
            return (Criteria) this;
        }

        public Criteria andStartDistancePriceIn(List<Integer> values) {
            addCriterion("start_distance_price in", values, "startDistancePrice");
            return (Criteria) this;
        }

        public Criteria andStartDistancePriceNotIn(List<Integer> values) {
            addCriterion("start_distance_price not in", values, "startDistancePrice");
            return (Criteria) this;
        }

        public Criteria andStartDistancePriceBetween(Integer value1, Integer value2) {
            addCriterion("start_distance_price between", value1, value2, "startDistancePrice");
            return (Criteria) this;
        }

        public Criteria andStartDistancePriceNotBetween(Integer value1, Integer value2) {
            addCriterion("start_distance_price not between", value1, value2, "startDistancePrice");
            return (Criteria) this;
        }

        public Criteria andFirstDistanceIsNull() {
            addCriterion("first_distance is null");
            return (Criteria) this;
        }

        public Criteria andFirstDistanceIsNotNull() {
            addCriterion("first_distance is not null");
            return (Criteria) this;
        }

        public Criteria andFirstDistanceEqualTo(Integer value) {
            addCriterion("first_distance =", value, "firstDistance");
            return (Criteria) this;
        }

        public Criteria andFirstDistanceNotEqualTo(Integer value) {
            addCriterion("first_distance <>", value, "firstDistance");
            return (Criteria) this;
        }

        public Criteria andFirstDistanceGreaterThan(Integer value) {
            addCriterion("first_distance >", value, "firstDistance");
            return (Criteria) this;
        }

        public Criteria andFirstDistanceGreaterThanOrEqualTo(Integer value) {
            addCriterion("first_distance >=", value, "firstDistance");
            return (Criteria) this;
        }

        public Criteria andFirstDistanceLessThan(Integer value) {
            addCriterion("first_distance <", value, "firstDistance");
            return (Criteria) this;
        }

        public Criteria andFirstDistanceLessThanOrEqualTo(Integer value) {
            addCriterion("first_distance <=", value, "firstDistance");
            return (Criteria) this;
        }

        public Criteria andFirstDistanceIn(List<Integer> values) {
            addCriterion("first_distance in", values, "firstDistance");
            return (Criteria) this;
        }

        public Criteria andFirstDistanceNotIn(List<Integer> values) {
            addCriterion("first_distance not in", values, "firstDistance");
            return (Criteria) this;
        }

        public Criteria andFirstDistanceBetween(Integer value1, Integer value2) {
            addCriterion("first_distance between", value1, value2, "firstDistance");
            return (Criteria) this;
        }

        public Criteria andFirstDistanceNotBetween(Integer value1, Integer value2) {
            addCriterion("first_distance not between", value1, value2, "firstDistance");
            return (Criteria) this;
        }

        public Criteria andFirstDistancePriceIsNull() {
            addCriterion("first_distance_price is null");
            return (Criteria) this;
        }

        public Criteria andFirstDistancePriceIsNotNull() {
            addCriterion("first_distance_price is not null");
            return (Criteria) this;
        }

        public Criteria andFirstDistancePriceEqualTo(Integer value) {
            addCriterion("first_distance_price =", value, "firstDistancePrice");
            return (Criteria) this;
        }

        public Criteria andFirstDistancePriceNotEqualTo(Integer value) {
            addCriterion("first_distance_price <>", value, "firstDistancePrice");
            return (Criteria) this;
        }

        public Criteria andFirstDistancePriceGreaterThan(Integer value) {
            addCriterion("first_distance_price >", value, "firstDistancePrice");
            return (Criteria) this;
        }

        public Criteria andFirstDistancePriceGreaterThanOrEqualTo(Integer value) {
            addCriterion("first_distance_price >=", value, "firstDistancePrice");
            return (Criteria) this;
        }

        public Criteria andFirstDistancePriceLessThan(Integer value) {
            addCriterion("first_distance_price <", value, "firstDistancePrice");
            return (Criteria) this;
        }

        public Criteria andFirstDistancePriceLessThanOrEqualTo(Integer value) {
            addCriterion("first_distance_price <=", value, "firstDistancePrice");
            return (Criteria) this;
        }

        public Criteria andFirstDistancePriceIn(List<Integer> values) {
            addCriterion("first_distance_price in", values, "firstDistancePrice");
            return (Criteria) this;
        }

        public Criteria andFirstDistancePriceNotIn(List<Integer> values) {
            addCriterion("first_distance_price not in", values, "firstDistancePrice");
            return (Criteria) this;
        }

        public Criteria andFirstDistancePriceBetween(Integer value1, Integer value2) {
            addCriterion("first_distance_price between", value1, value2, "firstDistancePrice");
            return (Criteria) this;
        }

        public Criteria andFirstDistancePriceNotBetween(Integer value1, Integer value2) {
            addCriterion("first_distance_price not between", value1, value2, "firstDistancePrice");
            return (Criteria) this;
        }

        public Criteria andSecondDistanceIsNull() {
            addCriterion("second_distance is null");
            return (Criteria) this;
        }

        public Criteria andSecondDistanceIsNotNull() {
            addCriterion("second_distance is not null");
            return (Criteria) this;
        }

        public Criteria andSecondDistanceEqualTo(Integer value) {
            addCriterion("second_distance =", value, "secondDistance");
            return (Criteria) this;
        }

        public Criteria andSecondDistanceNotEqualTo(Integer value) {
            addCriterion("second_distance <>", value, "secondDistance");
            return (Criteria) this;
        }

        public Criteria andSecondDistanceGreaterThan(Integer value) {
            addCriterion("second_distance >", value, "secondDistance");
            return (Criteria) this;
        }

        public Criteria andSecondDistanceGreaterThanOrEqualTo(Integer value) {
            addCriterion("second_distance >=", value, "secondDistance");
            return (Criteria) this;
        }

        public Criteria andSecondDistanceLessThan(Integer value) {
            addCriterion("second_distance <", value, "secondDistance");
            return (Criteria) this;
        }

        public Criteria andSecondDistanceLessThanOrEqualTo(Integer value) {
            addCriterion("second_distance <=", value, "secondDistance");
            return (Criteria) this;
        }

        public Criteria andSecondDistanceIn(List<Integer> values) {
            addCriterion("second_distance in", values, "secondDistance");
            return (Criteria) this;
        }

        public Criteria andSecondDistanceNotIn(List<Integer> values) {
            addCriterion("second_distance not in", values, "secondDistance");
            return (Criteria) this;
        }

        public Criteria andSecondDistanceBetween(Integer value1, Integer value2) {
            addCriterion("second_distance between", value1, value2, "secondDistance");
            return (Criteria) this;
        }

        public Criteria andSecondDistanceNotBetween(Integer value1, Integer value2) {
            addCriterion("second_distance not between", value1, value2, "secondDistance");
            return (Criteria) this;
        }

        public Criteria andSecondDistancePriceIsNull() {
            addCriterion("second_distance_price is null");
            return (Criteria) this;
        }

        public Criteria andSecondDistancePriceIsNotNull() {
            addCriterion("second_distance_price is not null");
            return (Criteria) this;
        }

        public Criteria andSecondDistancePriceEqualTo(Integer value) {
            addCriterion("second_distance_price =", value, "secondDistancePrice");
            return (Criteria) this;
        }

        public Criteria andSecondDistancePriceNotEqualTo(Integer value) {
            addCriterion("second_distance_price <>", value, "secondDistancePrice");
            return (Criteria) this;
        }

        public Criteria andSecondDistancePriceGreaterThan(Integer value) {
            addCriterion("second_distance_price >", value, "secondDistancePrice");
            return (Criteria) this;
        }

        public Criteria andSecondDistancePriceGreaterThanOrEqualTo(Integer value) {
            addCriterion("second_distance_price >=", value, "secondDistancePrice");
            return (Criteria) this;
        }

        public Criteria andSecondDistancePriceLessThan(Integer value) {
            addCriterion("second_distance_price <", value, "secondDistancePrice");
            return (Criteria) this;
        }

        public Criteria andSecondDistancePriceLessThanOrEqualTo(Integer value) {
            addCriterion("second_distance_price <=", value, "secondDistancePrice");
            return (Criteria) this;
        }

        public Criteria andSecondDistancePriceIn(List<Integer> values) {
            addCriterion("second_distance_price in", values, "secondDistancePrice");
            return (Criteria) this;
        }

        public Criteria andSecondDistancePriceNotIn(List<Integer> values) {
            addCriterion("second_distance_price not in", values, "secondDistancePrice");
            return (Criteria) this;
        }

        public Criteria andSecondDistancePriceBetween(Integer value1, Integer value2) {
            addCriterion("second_distance_price between", value1, value2, "secondDistancePrice");
            return (Criteria) this;
        }

        public Criteria andSecondDistancePriceNotBetween(Integer value1, Integer value2) {
            addCriterion("second_distance_price not between", value1, value2, "secondDistancePrice");
            return (Criteria) this;
        }

        public Criteria andThirdDistanceIsNull() {
            addCriterion("third_distance is null");
            return (Criteria) this;
        }

        public Criteria andThirdDistanceIsNotNull() {
            addCriterion("third_distance is not null");
            return (Criteria) this;
        }

        public Criteria andThirdDistanceEqualTo(Integer value) {
            addCriterion("third_distance =", value, "thirdDistance");
            return (Criteria) this;
        }

        public Criteria andThirdDistanceNotEqualTo(Integer value) {
            addCriterion("third_distance <>", value, "thirdDistance");
            return (Criteria) this;
        }

        public Criteria andThirdDistanceGreaterThan(Integer value) {
            addCriterion("third_distance >", value, "thirdDistance");
            return (Criteria) this;
        }

        public Criteria andThirdDistanceGreaterThanOrEqualTo(Integer value) {
            addCriterion("third_distance >=", value, "thirdDistance");
            return (Criteria) this;
        }

        public Criteria andThirdDistanceLessThan(Integer value) {
            addCriterion("third_distance <", value, "thirdDistance");
            return (Criteria) this;
        }

        public Criteria andThirdDistanceLessThanOrEqualTo(Integer value) {
            addCriterion("third_distance <=", value, "thirdDistance");
            return (Criteria) this;
        }

        public Criteria andThirdDistanceIn(List<Integer> values) {
            addCriterion("third_distance in", values, "thirdDistance");
            return (Criteria) this;
        }

        public Criteria andThirdDistanceNotIn(List<Integer> values) {
            addCriterion("third_distance not in", values, "thirdDistance");
            return (Criteria) this;
        }

        public Criteria andThirdDistanceBetween(Integer value1, Integer value2) {
            addCriterion("third_distance between", value1, value2, "thirdDistance");
            return (Criteria) this;
        }

        public Criteria andThirdDistanceNotBetween(Integer value1, Integer value2) {
            addCriterion("third_distance not between", value1, value2, "thirdDistance");
            return (Criteria) this;
        }

        public Criteria andThirdDistancePriceIsNull() {
            addCriterion("third_distance_price is null");
            return (Criteria) this;
        }

        public Criteria andThirdDistancePriceIsNotNull() {
            addCriterion("third_distance_price is not null");
            return (Criteria) this;
        }

        public Criteria andThirdDistancePriceEqualTo(Integer value) {
            addCriterion("third_distance_price =", value, "thirdDistancePrice");
            return (Criteria) this;
        }

        public Criteria andThirdDistancePriceNotEqualTo(Integer value) {
            addCriterion("third_distance_price <>", value, "thirdDistancePrice");
            return (Criteria) this;
        }

        public Criteria andThirdDistancePriceGreaterThan(Integer value) {
            addCriterion("third_distance_price >", value, "thirdDistancePrice");
            return (Criteria) this;
        }

        public Criteria andThirdDistancePriceGreaterThanOrEqualTo(Integer value) {
            addCriterion("third_distance_price >=", value, "thirdDistancePrice");
            return (Criteria) this;
        }

        public Criteria andThirdDistancePriceLessThan(Integer value) {
            addCriterion("third_distance_price <", value, "thirdDistancePrice");
            return (Criteria) this;
        }

        public Criteria andThirdDistancePriceLessThanOrEqualTo(Integer value) {
            addCriterion("third_distance_price <=", value, "thirdDistancePrice");
            return (Criteria) this;
        }

        public Criteria andThirdDistancePriceIn(List<Integer> values) {
            addCriterion("third_distance_price in", values, "thirdDistancePrice");
            return (Criteria) this;
        }

        public Criteria andThirdDistancePriceNotIn(List<Integer> values) {
            addCriterion("third_distance_price not in", values, "thirdDistancePrice");
            return (Criteria) this;
        }

        public Criteria andThirdDistancePriceBetween(Integer value1, Integer value2) {
            addCriterion("third_distance_price between", value1, value2, "thirdDistancePrice");
            return (Criteria) this;
        }

        public Criteria andThirdDistancePriceNotBetween(Integer value1, Integer value2) {
            addCriterion("third_distance_price not between", value1, value2, "thirdDistancePrice");
            return (Criteria) this;
        }

        public Criteria andFourthDistanceIsNull() {
            addCriterion("fourth_distance is null");
            return (Criteria) this;
        }

        public Criteria andFourthDistanceIsNotNull() {
            addCriterion("fourth_distance is not null");
            return (Criteria) this;
        }

        public Criteria andFourthDistanceEqualTo(Integer value) {
            addCriterion("fourth_distance =", value, "fourthDistance");
            return (Criteria) this;
        }

        public Criteria andFourthDistanceNotEqualTo(Integer value) {
            addCriterion("fourth_distance <>", value, "fourthDistance");
            return (Criteria) this;
        }

        public Criteria andFourthDistanceGreaterThan(Integer value) {
            addCriterion("fourth_distance >", value, "fourthDistance");
            return (Criteria) this;
        }

        public Criteria andFourthDistanceGreaterThanOrEqualTo(Integer value) {
            addCriterion("fourth_distance >=", value, "fourthDistance");
            return (Criteria) this;
        }

        public Criteria andFourthDistanceLessThan(Integer value) {
            addCriterion("fourth_distance <", value, "fourthDistance");
            return (Criteria) this;
        }

        public Criteria andFourthDistanceLessThanOrEqualTo(Integer value) {
            addCriterion("fourth_distance <=", value, "fourthDistance");
            return (Criteria) this;
        }

        public Criteria andFourthDistanceIn(List<Integer> values) {
            addCriterion("fourth_distance in", values, "fourthDistance");
            return (Criteria) this;
        }

        public Criteria andFourthDistanceNotIn(List<Integer> values) {
            addCriterion("fourth_distance not in", values, "fourthDistance");
            return (Criteria) this;
        }

        public Criteria andFourthDistanceBetween(Integer value1, Integer value2) {
            addCriterion("fourth_distance between", value1, value2, "fourthDistance");
            return (Criteria) this;
        }

        public Criteria andFourthDistanceNotBetween(Integer value1, Integer value2) {
            addCriterion("fourth_distance not between", value1, value2, "fourthDistance");
            return (Criteria) this;
        }

        public Criteria andFourthDistancePriceIsNull() {
            addCriterion("fourth_distance_price is null");
            return (Criteria) this;
        }

        public Criteria andFourthDistancePriceIsNotNull() {
            addCriterion("fourth_distance_price is not null");
            return (Criteria) this;
        }

        public Criteria andFourthDistancePriceEqualTo(Integer value) {
            addCriterion("fourth_distance_price =", value, "fourthDistancePrice");
            return (Criteria) this;
        }

        public Criteria andFourthDistancePriceNotEqualTo(Integer value) {
            addCriterion("fourth_distance_price <>", value, "fourthDistancePrice");
            return (Criteria) this;
        }

        public Criteria andFourthDistancePriceGreaterThan(Integer value) {
            addCriterion("fourth_distance_price >", value, "fourthDistancePrice");
            return (Criteria) this;
        }

        public Criteria andFourthDistancePriceGreaterThanOrEqualTo(Integer value) {
            addCriterion("fourth_distance_price >=", value, "fourthDistancePrice");
            return (Criteria) this;
        }

        public Criteria andFourthDistancePriceLessThan(Integer value) {
            addCriterion("fourth_distance_price <", value, "fourthDistancePrice");
            return (Criteria) this;
        }

        public Criteria andFourthDistancePriceLessThanOrEqualTo(Integer value) {
            addCriterion("fourth_distance_price <=", value, "fourthDistancePrice");
            return (Criteria) this;
        }

        public Criteria andFourthDistancePriceIn(List<Integer> values) {
            addCriterion("fourth_distance_price in", values, "fourthDistancePrice");
            return (Criteria) this;
        }

        public Criteria andFourthDistancePriceNotIn(List<Integer> values) {
            addCriterion("fourth_distance_price not in", values, "fourthDistancePrice");
            return (Criteria) this;
        }

        public Criteria andFourthDistancePriceBetween(Integer value1, Integer value2) {
            addCriterion("fourth_distance_price between", value1, value2, "fourthDistancePrice");
            return (Criteria) this;
        }

        public Criteria andFourthDistancePriceNotBetween(Integer value1, Integer value2) {
            addCriterion("fourth_distance_price not between", value1, value2, "fourthDistancePrice");
            return (Criteria) this;
        }

        public Criteria andStartWeightIsNull() {
            addCriterion("start_weight is null");
            return (Criteria) this;
        }

        public Criteria andStartWeightIsNotNull() {
            addCriterion("start_weight is not null");
            return (Criteria) this;
        }

        public Criteria andStartWeightEqualTo(Integer value) {
            addCriterion("start_weight =", value, "startWeight");
            return (Criteria) this;
        }

        public Criteria andStartWeightNotEqualTo(Integer value) {
            addCriterion("start_weight <>", value, "startWeight");
            return (Criteria) this;
        }

        public Criteria andStartWeightGreaterThan(Integer value) {
            addCriterion("start_weight >", value, "startWeight");
            return (Criteria) this;
        }

        public Criteria andStartWeightGreaterThanOrEqualTo(Integer value) {
            addCriterion("start_weight >=", value, "startWeight");
            return (Criteria) this;
        }

        public Criteria andStartWeightLessThan(Integer value) {
            addCriterion("start_weight <", value, "startWeight");
            return (Criteria) this;
        }

        public Criteria andStartWeightLessThanOrEqualTo(Integer value) {
            addCriterion("start_weight <=", value, "startWeight");
            return (Criteria) this;
        }

        public Criteria andStartWeightIn(List<Integer> values) {
            addCriterion("start_weight in", values, "startWeight");
            return (Criteria) this;
        }

        public Criteria andStartWeightNotIn(List<Integer> values) {
            addCriterion("start_weight not in", values, "startWeight");
            return (Criteria) this;
        }

        public Criteria andStartWeightBetween(Integer value1, Integer value2) {
            addCriterion("start_weight between", value1, value2, "startWeight");
            return (Criteria) this;
        }

        public Criteria andStartWeightNotBetween(Integer value1, Integer value2) {
            addCriterion("start_weight not between", value1, value2, "startWeight");
            return (Criteria) this;
        }

        public Criteria andStartWeightPriceIsNull() {
            addCriterion("start_weight_price is null");
            return (Criteria) this;
        }

        public Criteria andStartWeightPriceIsNotNull() {
            addCriterion("start_weight_price is not null");
            return (Criteria) this;
        }

        public Criteria andStartWeightPriceEqualTo(Integer value) {
            addCriterion("start_weight_price =", value, "startWeightPrice");
            return (Criteria) this;
        }

        public Criteria andStartWeightPriceNotEqualTo(Integer value) {
            addCriterion("start_weight_price <>", value, "startWeightPrice");
            return (Criteria) this;
        }

        public Criteria andStartWeightPriceGreaterThan(Integer value) {
            addCriterion("start_weight_price >", value, "startWeightPrice");
            return (Criteria) this;
        }

        public Criteria andStartWeightPriceGreaterThanOrEqualTo(Integer value) {
            addCriterion("start_weight_price >=", value, "startWeightPrice");
            return (Criteria) this;
        }

        public Criteria andStartWeightPriceLessThan(Integer value) {
            addCriterion("start_weight_price <", value, "startWeightPrice");
            return (Criteria) this;
        }

        public Criteria andStartWeightPriceLessThanOrEqualTo(Integer value) {
            addCriterion("start_weight_price <=", value, "startWeightPrice");
            return (Criteria) this;
        }

        public Criteria andStartWeightPriceIn(List<Integer> values) {
            addCriterion("start_weight_price in", values, "startWeightPrice");
            return (Criteria) this;
        }

        public Criteria andStartWeightPriceNotIn(List<Integer> values) {
            addCriterion("start_weight_price not in", values, "startWeightPrice");
            return (Criteria) this;
        }

        public Criteria andStartWeightPriceBetween(Integer value1, Integer value2) {
            addCriterion("start_weight_price between", value1, value2, "startWeightPrice");
            return (Criteria) this;
        }

        public Criteria andStartWeightPriceNotBetween(Integer value1, Integer value2) {
            addCriterion("start_weight_price not between", value1, value2, "startWeightPrice");
            return (Criteria) this;
        }

        public Criteria andFirstWeightIsNull() {
            addCriterion("first_weight is null");
            return (Criteria) this;
        }

        public Criteria andFirstWeightIsNotNull() {
            addCriterion("first_weight is not null");
            return (Criteria) this;
        }

        public Criteria andFirstWeightEqualTo(Integer value) {
            addCriterion("first_weight =", value, "firstWeight");
            return (Criteria) this;
        }

        public Criteria andFirstWeightNotEqualTo(Integer value) {
            addCriterion("first_weight <>", value, "firstWeight");
            return (Criteria) this;
        }

        public Criteria andFirstWeightGreaterThan(Integer value) {
            addCriterion("first_weight >", value, "firstWeight");
            return (Criteria) this;
        }

        public Criteria andFirstWeightGreaterThanOrEqualTo(Integer value) {
            addCriterion("first_weight >=", value, "firstWeight");
            return (Criteria) this;
        }

        public Criteria andFirstWeightLessThan(Integer value) {
            addCriterion("first_weight <", value, "firstWeight");
            return (Criteria) this;
        }

        public Criteria andFirstWeightLessThanOrEqualTo(Integer value) {
            addCriterion("first_weight <=", value, "firstWeight");
            return (Criteria) this;
        }

        public Criteria andFirstWeightIn(List<Integer> values) {
            addCriterion("first_weight in", values, "firstWeight");
            return (Criteria) this;
        }

        public Criteria andFirstWeightNotIn(List<Integer> values) {
            addCriterion("first_weight not in", values, "firstWeight");
            return (Criteria) this;
        }

        public Criteria andFirstWeightBetween(Integer value1, Integer value2) {
            addCriterion("first_weight between", value1, value2, "firstWeight");
            return (Criteria) this;
        }

        public Criteria andFirstWeightNotBetween(Integer value1, Integer value2) {
            addCriterion("first_weight not between", value1, value2, "firstWeight");
            return (Criteria) this;
        }

        public Criteria andFirstWeightPriceIsNull() {
            addCriterion("first_weight_price is null");
            return (Criteria) this;
        }

        public Criteria andFirstWeightPriceIsNotNull() {
            addCriterion("first_weight_price is not null");
            return (Criteria) this;
        }

        public Criteria andFirstWeightPriceEqualTo(Integer value) {
            addCriterion("first_weight_price =", value, "firstWeightPrice");
            return (Criteria) this;
        }

        public Criteria andFirstWeightPriceNotEqualTo(Integer value) {
            addCriterion("first_weight_price <>", value, "firstWeightPrice");
            return (Criteria) this;
        }

        public Criteria andFirstWeightPriceGreaterThan(Integer value) {
            addCriterion("first_weight_price >", value, "firstWeightPrice");
            return (Criteria) this;
        }

        public Criteria andFirstWeightPriceGreaterThanOrEqualTo(Integer value) {
            addCriterion("first_weight_price >=", value, "firstWeightPrice");
            return (Criteria) this;
        }

        public Criteria andFirstWeightPriceLessThan(Integer value) {
            addCriterion("first_weight_price <", value, "firstWeightPrice");
            return (Criteria) this;
        }

        public Criteria andFirstWeightPriceLessThanOrEqualTo(Integer value) {
            addCriterion("first_weight_price <=", value, "firstWeightPrice");
            return (Criteria) this;
        }

        public Criteria andFirstWeightPriceIn(List<Integer> values) {
            addCriterion("first_weight_price in", values, "firstWeightPrice");
            return (Criteria) this;
        }

        public Criteria andFirstWeightPriceNotIn(List<Integer> values) {
            addCriterion("first_weight_price not in", values, "firstWeightPrice");
            return (Criteria) this;
        }

        public Criteria andFirstWeightPriceBetween(Integer value1, Integer value2) {
            addCriterion("first_weight_price between", value1, value2, "firstWeightPrice");
            return (Criteria) this;
        }

        public Criteria andFirstWeightPriceNotBetween(Integer value1, Integer value2) {
            addCriterion("first_weight_price not between", value1, value2, "firstWeightPrice");
            return (Criteria) this;
        }

        public Criteria andSecondWeightIsNull() {
            addCriterion("second_weight is null");
            return (Criteria) this;
        }

        public Criteria andSecondWeightIsNotNull() {
            addCriterion("second_weight is not null");
            return (Criteria) this;
        }

        public Criteria andSecondWeightEqualTo(Integer value) {
            addCriterion("second_weight =", value, "secondWeight");
            return (Criteria) this;
        }

        public Criteria andSecondWeightNotEqualTo(Integer value) {
            addCriterion("second_weight <>", value, "secondWeight");
            return (Criteria) this;
        }

        public Criteria andSecondWeightGreaterThan(Integer value) {
            addCriterion("second_weight >", value, "secondWeight");
            return (Criteria) this;
        }

        public Criteria andSecondWeightGreaterThanOrEqualTo(Integer value) {
            addCriterion("second_weight >=", value, "secondWeight");
            return (Criteria) this;
        }

        public Criteria andSecondWeightLessThan(Integer value) {
            addCriterion("second_weight <", value, "secondWeight");
            return (Criteria) this;
        }

        public Criteria andSecondWeightLessThanOrEqualTo(Integer value) {
            addCriterion("second_weight <=", value, "secondWeight");
            return (Criteria) this;
        }

        public Criteria andSecondWeightIn(List<Integer> values) {
            addCriterion("second_weight in", values, "secondWeight");
            return (Criteria) this;
        }

        public Criteria andSecondWeightNotIn(List<Integer> values) {
            addCriterion("second_weight not in", values, "secondWeight");
            return (Criteria) this;
        }

        public Criteria andSecondWeightBetween(Integer value1, Integer value2) {
            addCriterion("second_weight between", value1, value2, "secondWeight");
            return (Criteria) this;
        }

        public Criteria andSecondWeightNotBetween(Integer value1, Integer value2) {
            addCriterion("second_weight not between", value1, value2, "secondWeight");
            return (Criteria) this;
        }

        public Criteria andSecondWeightPriceIsNull() {
            addCriterion("second_weight_price is null");
            return (Criteria) this;
        }

        public Criteria andSecondWeightPriceIsNotNull() {
            addCriterion("second_weight_price is not null");
            return (Criteria) this;
        }

        public Criteria andSecondWeightPriceEqualTo(Integer value) {
            addCriterion("second_weight_price =", value, "secondWeightPrice");
            return (Criteria) this;
        }

        public Criteria andSecondWeightPriceNotEqualTo(Integer value) {
            addCriterion("second_weight_price <>", value, "secondWeightPrice");
            return (Criteria) this;
        }

        public Criteria andSecondWeightPriceGreaterThan(Integer value) {
            addCriterion("second_weight_price >", value, "secondWeightPrice");
            return (Criteria) this;
        }

        public Criteria andSecondWeightPriceGreaterThanOrEqualTo(Integer value) {
            addCriterion("second_weight_price >=", value, "secondWeightPrice");
            return (Criteria) this;
        }

        public Criteria andSecondWeightPriceLessThan(Integer value) {
            addCriterion("second_weight_price <", value, "secondWeightPrice");
            return (Criteria) this;
        }

        public Criteria andSecondWeightPriceLessThanOrEqualTo(Integer value) {
            addCriterion("second_weight_price <=", value, "secondWeightPrice");
            return (Criteria) this;
        }

        public Criteria andSecondWeightPriceIn(List<Integer> values) {
            addCriterion("second_weight_price in", values, "secondWeightPrice");
            return (Criteria) this;
        }

        public Criteria andSecondWeightPriceNotIn(List<Integer> values) {
            addCriterion("second_weight_price not in", values, "secondWeightPrice");
            return (Criteria) this;
        }

        public Criteria andSecondWeightPriceBetween(Integer value1, Integer value2) {
            addCriterion("second_weight_price between", value1, value2, "secondWeightPrice");
            return (Criteria) this;
        }

        public Criteria andSecondWeightPriceNotBetween(Integer value1, Integer value2) {
            addCriterion("second_weight_price not between", value1, value2, "secondWeightPrice");
            return (Criteria) this;
        }

        public Criteria andDefaultPlanIsNull() {
            addCriterion("default_plan is null");
            return (Criteria) this;
        }

        public Criteria andDefaultPlanIsNotNull() {
            addCriterion("default_plan is not null");
            return (Criteria) this;
        }

        public Criteria andDefaultPlanEqualTo(Boolean value) {
            addCriterion("default_plan =", value, "defaultPlan");
            return (Criteria) this;
        }

        public Criteria andDefaultPlanNotEqualTo(Boolean value) {
            addCriterion("default_plan <>", value, "defaultPlan");
            return (Criteria) this;
        }

        public Criteria andDefaultPlanGreaterThan(Boolean value) {
            addCriterion("default_plan >", value, "defaultPlan");
            return (Criteria) this;
        }

        public Criteria andDefaultPlanGreaterThanOrEqualTo(Boolean value) {
            addCriterion("default_plan >=", value, "defaultPlan");
            return (Criteria) this;
        }

        public Criteria andDefaultPlanLessThan(Boolean value) {
            addCriterion("default_plan <", value, "defaultPlan");
            return (Criteria) this;
        }

        public Criteria andDefaultPlanLessThanOrEqualTo(Boolean value) {
            addCriterion("default_plan <=", value, "defaultPlan");
            return (Criteria) this;
        }

        public Criteria andDefaultPlanIn(List<Boolean> values) {
            addCriterion("default_plan in", values, "defaultPlan");
            return (Criteria) this;
        }

        public Criteria andDefaultPlanNotIn(List<Boolean> values) {
            addCriterion("default_plan not in", values, "defaultPlan");
            return (Criteria) this;
        }

        public Criteria andDefaultPlanBetween(Boolean value1, Boolean value2) {
            addCriterion("default_plan between", value1, value2, "defaultPlan");
            return (Criteria) this;
        }

        public Criteria andDefaultPlanNotBetween(Boolean value1, Boolean value2) {
            addCriterion("default_plan not between", value1, value2, "defaultPlan");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}